//
//  HTTPRequestGeneral.m
//  SeaWorld
//
//  Created by 王亮 on 2017/8/23.
//  Copyright © 2017年 Rice. All rights reserved.
//

#import "HTTPRequestGeneral.h"
#import "AppConfig.h"
@implementation HTTPRequestGeneral
+ (HTTPURLSessionTask *)getMessageCodeParams:(NSDictionary *)params
                                     Success:(void(^)(id response))success
                                        fail:(void(^)(NSError *error))fail;{
    return [HTTPRequestTool postWithUrl:getVerifyCodeUrl refreshCache:NO params:params success:^(id response) {
        if (success) {
            success(response);
        }
    } fail:^(NSError *error) {
        if (fail) {
            fail(error);
        }
    }];
}



@end
